package com.ruoyi.womp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡检记录明细对象 womp_osi_record_item
 * 
 * @author mzz
 * @date 2023-05-11
 */
public class WompOsiRecordItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 巡检记录编号 */
    @Excel(name = "巡检记录编号")
    private Integer osiRecordId;

    /** 检查项 */
    @Excel(name = "检查项")
    private Integer osiItemId;

    /** 巡检结果 */
    @Excel(name = "巡检结果")
    private Integer osiResult;

    /** 附件 */
    @Excel(name = "附件")
    private String fileSource;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOsiRecordId(Integer osiRecordId) 
    {
        this.osiRecordId = osiRecordId;
    }

    public Integer getOsiRecordId() 
    {
        return osiRecordId;
    }
    public void setOsiItemId(Integer osiItemId) 
    {
        this.osiItemId = osiItemId;
    }

    public Integer getOsiItemId() 
    {
        return osiItemId;
    }
    public void setOsiResult(Integer osiResult) 
    {
        this.osiResult = osiResult;
    }

    public Integer getOsiResult() 
    {
        return osiResult;
    }
    public void setFileSource(String fileSource) 
    {
        this.fileSource = fileSource;
    }

    public String getFileSource() 
    {
        return fileSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("osiRecordId", getOsiRecordId())
            .append("osiItemId", getOsiItemId())
            .append("osiResult", getOsiResult())
            .append("remark", getRemark())
            .append("fileSource", getFileSource())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
